module.exports = [
  {
    url: "/sys/role/add",
    type: "post",
    response: config => {
      return {
        msg: "添加成功",
        code: 200,
        data: null,
        success: true,
        time: "2021-03-10 17:42:54"
      };
    }
  },
  {
    url: "/sys/role/upd",
    type: "post",
    response: config => {
      return {
        msg: "修改成功",
        code: 200,
        data: null,
        success: true,
        time: "2021-03-10 17:42:54"
      };
    }
  },
  {
    url: "/sys/role/del",
    type: "post",
    response: config => {
      return {
        msg: "删除成功",
        code: 200,
        data: null,
        success: true,
        time: "2021-03-10 16:43:50"
      };
    }
  },
  {
    url: "/sys/role/page",
    type: "post",
    response: config => {
      return {
        msg: "获取角色的分页数据",
        code: 200,
        data: {
          firstPage: true,
          lastPage: true,
          pageNumber: 1,
          pageSize: 15,
          list: [
            {
              uid: "d4d8e35dfe4d47c19ea8849134dea5fe",
              created: "2021-03-11 08:55:16",
              name: "管理员",
              remark: "管理员",
              id: 2,
              updated: "2021-03-11 08:56:58",
              status: 1,
              menuUid:["b1f8cd95e3ea4af6a7e1f0d03cb5a7ec","ad40a2dfb7e8499c9678de4d1294d283"]
            }
          ],
          totalPage: 1,
          totalRow: 1
        },
        success: true,
        time: "2021-03-11 09:00:09"
      };
    }
  },
  {
    url: "/sys/role/get",
    type: "post",
    response: config => {
      return {
        msg: "获取单个角色的数据",
        code: 200,
        data: {
          uid: "d4d8e35dfe4d47c19ea8849134dea5fe",
          created: "2021-03-11 08:55:16",
          name: "管理员",
          perms: null,
          remark: "管理员",
          id: 2,
          updated: "2021-03-11 08:56:58",
          status: 1,
          menuUid:[]
        },
        success: true,
        time: "2021-03-12 10:01:57"
      };
    }
  }
];
